Automattic\Jetpack\Dashboard_Customizations\Base_Admin_Menu B

Total Complexity 99
Dependencies 2
Dependents 1
Total lines 750
Lines of code 392
Logical lines of code 199
Comment lines 261
Methods 29
Properties 3

Methods 29

Method Rating Maintainability Complexity Lines of code
update_menu()
A
45 14 41
override_svg_icons()
A
44 10 45
update_submenus()
A
48 10 34
hide_parent_of_hidden_submenus()
S
55 7 18
handle_preferred_view()
S
53 6 22
__construct()
S
55 5 16
get_current_screen()
S
59 5 14
hide_submenu_page()
S
60 4 14
sort_hidden_submenus()
S
62 4 12
get_preferred_view()
S
64 4 10
get_submenu_item_count()
S
68 4 7
enqueue_scripts()
S
51 2 30
set_menu_item()
S
61 3 11
add_dashboard_switcher()
S
53 2 26
dashboard_switcher_scripts()
S
60 1 23
get_preferred_views()
S
70 2 7
is_item_visible()
S
76 2 3
hide_submenu_element()
S
71 2 5
get_instance()
S
69 2 7
admin_body_class()
S
80 1 3
should_link_to_wp_admin()
S
80 1 3
inject_core_mobile_toggle()
S
82 1 3
add_admin_menu_separator()
S
65 1 10
configure_colors_for_rtl_stylesheets()
S
79 1 3
set_preferred_view()
S
69 1 6
set_site_icon_inline_styles()
S
72 1 9
is_rtl()
S
81 1 3
has_visible_items()
S
69 1 7
reregister_menu_items()
S
100 1 0